import request from '@/utils/request'
export function getAuthUrl() {
    return request({
        url: '/wx/authUrl',
        method: 'GET',
    }).then(data => data)
}
export function getUserInfo(params) {
    return request({
        url: '/wx/login',
        method: 'GET',
        params
    }).then(data => data)
}
/**
 * 获取微信sdk配置信息
 * @param {*} params 
 */
export function getWxConfig(params){
    return request({
        url: '/wx/jsConfig',
        method: 'POST',
        data:params
    }).then(data => data)
}
